package com.mostka.ws.client;

public class JsMessageEvent extends JsEvent {

	protected JsMessageEvent() {}
	
	public final native JsWebSocket getCurrentTarget() /*-{
		return this.currentTarget;
	}-*/;

	public final native JsWebSocket getSrcElement() /*-{
		return this.srcElement;
	}-*/;

	public final native JsWebSocket getTarget() /*-{
		return this.target;
	}-*/;

	public final native String getData() /*-{
		return this.data;
	}-*/;

	public final native String getLastEventId() /*-{
		return this.lastEventId;
	}-*/;

	public final native String getOrigin() /*-{
		return this.origin;
	}-*/;
}
